x86emul: correct LFS et al handling for 64-bit mode
authorJan Beulich <jbeulich@suse.com>
Mon, 16 Dec 2019 16:35:50 +0000 (17:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 16 Dec 2019 16:35:50 +0000 (17:35 +0100)
commitffa21ea53034a3aebcf20c5cf737961f9209d34a
tree3c4903f199b05e6dbbb1d28feae9298885e3303f
parent99dd522c3fb54656a3ac7fbe56bf0c3aa9a527b8
x86emul: correct LFS et al handling for 64-bit mode

AMD and friends explicitly specify that 64-bit operands aren't possible
for these insns. Nevertheless REX.W isn't fully ignored: It still
cancels a possible operand size override (0x66). Intel otoh explicitly
provides for 64-bit operands on the respective insn page of the SDM.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c